<!-- 查询 content -->
{{ $contentSQL := "* FROM content WHERE id=? order by sortNo desc" }}

{{$contentID := printf "/single/%s" (lastURI .UrlPathParam) }}

{{ $content := selectOne "content" $contentSQL $contentID }}

<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <title>{{ $content.Title }}</title>
  <meta name="description" content="{{ $content.Description }}" />
  <meta name="keyword" content="{{ $content.Keyword }}" />

  {{template "bodystart.html" $content }}

<div class="gdoc-page">

  <article class="gdoc-markdown gdoc-markdown__align--left">
      <h1>{{ $content.Title }}</h1>
    {{ safeHTML $content.Content }}
   </article>
  
</div>

<script src="{{basePath}}js/search-9719be99.bundle.min.js"></script>
{{template "bodyend.html" }}           